import { RouteConfig } from "vue-router";
const routes: Array<RouteConfig> = [
  {
    path: "/",
    name: "Home",
    component: () => import("../views/Home.vue"),
  },
  {
    path: "/login",
    name: "login",
    component: () => import("../views/login.vue"),
  },
  {
    path: "/register",
    name: "register",
    component: () => import("../views/register.vue"),
  },
  {
    path: "/quickLogin",
    name: "quickLogin",
    component: () => import("../views/quickLogin.vue"),
  },
  {
    path: "/ignorePwd",
    name: "ignorePwd",
    component: () => import("../views/ignorePwd.vue"),
  },
  {
    path: "/setPwd",
    name: "setPwd",
    component: () => import("../views/setPwd.vue"),
  },
  {
    path: "/my",
    name: "my",
    component: () => import("../views/my.vue"),
  },
  {
    path: "/setTel",
    name: "setTel",
    component: () => import("../views/setTel.vue"),
  },
  {
    path: "/reSetPwd",
    name: "reSetPwd",
    component: () => import("../views/reSetPwd.vue"),
  },
  {
    path: "/autonym",
    name: "autonym",
    component: () => import("../views/autonym.vue"),
  },
  {
    path: "/record",
    name: "record",
    component: () => import("../views/record/index.vue"),
  },
  {
    path: "/myself",
    name: "myself",
    component: () => import("../views/record/myself.vue"),
  },
  {
    path: "/myselfWrite",
    name: "myselfWrite",
    component: () => import("../views/record/myselfWrite.vue"),
  },
  {
    path: "/health",
    name: "health",
    component: () => import("../views/record/health.vue"),
  },
  {
    path: "/healthWrite",
    name: "healthWrite",
    component: () => import("../views/record/healthWrite.vue"),
  },
  {
    path: "/education",
    name: "education",
    component: () => import("../views/record/education.vue"),
  },
  {
    path: "/educationWrite",
    name: "educationWrite",
    component: () => import("../views/record/educationWrite.vue"),
  },
  {
    path: "/work",
    name: "work",
    component: () => import("../views/record/work.vue"),
  },
  {
    path: "/workWrite",
    name: "workWrite",
    component: () => import("../views/record/workWrite.vue"),
  },
  {
    path: "/commerce",
    name: "commerce",
    component: () => import("../views/record/commerce.vue"),
  },
  {
    path: "/commerceWrite",
    name: "commerceWrite",
    component: () => import("../views/record/commerceWrite.vue"),
  },
  {
    path: "/operator",
    name: "operator",
    component: () => import("../views/record/operator.vue"),
  },
  {
    path: "/operatorWrite",
    name: "operatorWrite",
    component: () => import("../views/record/operatorWrite.vue"),
  },
  {
    path: "/relieve", //解除
    name: "relieve",
    component: () => import("../views/record/relieve.vue"),
  },
];
export default routes;
